package com.system.common.request.purview;

import com.system.common.request.BaseReq;

import javax.validation.constraints.NotBlank;

public class SavePurviewReq extends BaseReq {

    /**
     * 权限名
     */
    @NotBlank
    private String purName;


    /**
     * 父菜单ID
     */
    private Long parentId;

    /**
     * 是否要登陆,0 不登陆， 1登陆
     */
    private Integer login;

    /**
     * 权限类型,
     */
    private Integer purType;

    /**
     * 权限说明
     */
    private String purDescribe;


    /**
     * 权限地址
     */
    @NotBlank
    private String purUrl;


    /**
     * 是否有效，0有效，1无效
     */
    private Integer state;

    /**
     *  排序
     */
    private Integer orderNum;

    public String getPurName() {
        return purName;
    }

    public void setPurName(String purName) {
        this.purName = purName;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Integer getLogin() {
        return login;
    }

    public void setLogin(Integer login) {
        this.login = login;
    }

    public Integer getPurType() {
        return purType;
    }

    public void setPurType(Integer purType) {
        this.purType = purType;
    }

    public String getPurDescribe() {
        return purDescribe;
    }

    public void setPurDescribe(String purDescribe) {
        this.purDescribe = purDescribe;
    }

    public String getPurUrl() {
        return purUrl;
    }

    public void setPurUrl(String purUrl) {
        this.purUrl = purUrl;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }
}
